package test.testB;

import com.spring.annotation.Autowired;
import com.spring.annotation.Component;
import test.testA.A;

@Component
public class B {
	@Autowired
	private A a;
	
	public void testA(){
		System.out.println("B事务");
	}
}
